<div class="row">
	<div class="col-md-3">
		<a href="<?php echo U('home/front/index') ?>"><img id="logo" src="__PUBLIC__/img/logo.jpg"></a>
	</div>
	<div class="col-md-6">
		<p id="phone"><i class="glyphicon glyphicon-earphone "></i>400-123456789<i class="glyphicon glyphicon-envelope"></i>shop@googjobs</p>
		<div class="input-group">
		     <input type="text" class="form-control" placeholder="请输入商品名称或店铺名称...">
		     <span class="input-group-btn">
		        <button class="btn btn-danger" type="button">搜索</button>
		     </span>
	    </div>
	</div>
	<div class="col-md-3 ">
		<div id="head_right"><?php if($_SESSION['user_is_login']){
			echo '欢迎回来，'.$_SESSION['username']; ?>|<a href="<?php echo U('User/do_logout') ?>">退出</a>
			<?php	
				}else{
			?>
			<a href="<?php echo U('User/login') ?>">请登录</a>|<a href="<?php echo U('User/regedit') ?>">欢迎注册</a>
			<?php
				} 
			?>
		</div>
		<div id="shopcart">
			<a href="<?php echo U("home/shoping/cart/") ?>" id="sp" class="pull-right">	
				<i class="glyphicon glyphicon-shopping-cart"></i>我的购物车<span><?php echo M('user_cart')->where(array('user_id'=>$_SESSION['user_id']))->count() ;?></span>
			</a>
		</div>
	</div>
</div>